<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="WEB-INF/facelets/template.xhtml">
    <h:head>
        <title>Category</title>
    </h:head>

    <ui:define name="content">
        <div id="logout">
            <h:commandButton action="logout" value="Logout" />
        </div>
        <div id="top">
            <h:form>
                <h:outputText value="Categories" />
                <h:commandButton action="newCat" value="Create New" />
            </h:form>
        </div>
        
        <div id="myCategories">
            <div id="roller">PrimeFaces here</div>
            <h:form>
                <div id="button">
                    <h:commandButton action="newCat" value="Edit" />
                    <h:commandButton action="Test" value="Test" />
                </div>
            </h:form>
        </div>

        <div id="publicCategories">
            <div id="roller">PrimeFaces here</div>
            <h:form>  
                <div id="button">
                    <h:commandButton action="Test" value="Test" />
                </div>
            </h:form>
        </div>
    </ui:define>
    
</ui:composition>

